//
//  ZXLTopicCell.m
//  EPA
//
//  Created by 朱兴隆 on 16/4/22.
//  Copyright © 2016年 朱兴隆. All rights reserved.
//

#import "ZXLTopicCell.h"

@interface ZXLTopicCell ()
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;
@property (weak, nonatomic) IBOutlet UIImageView *coverImage;


@end
@implementation ZXLTopicCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)layoutSubviews {
    // SDWebImage
    [self.coverImage sd_setImageWithURL:[NSURL URLWithString:self.model.coverimg]];
    self.titleLabel.text = self.model.title;
    self.contentLabel.text = self.model.content;
    
}

@end
